<template>
  <div>
    <label for="select">选择一个选项</label>
    <select v-model="selector" id="select">
      <option value="选项一">选项一</option>
      <option value="选项二">选项二</option>
      <option value="选项三">选项三</option>
    </select>
    <p>
      你选择的是 <b>{{ selector }}</b>
    </p>
  </div>
</template>

<script>
import { ref } from "vue";
export default {
  setup() {
    let selector = ref("选项一");
    return {
      selector,
    };
  },
};
</script>

<style lang="scss" scoped></style>
